﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace REPORT.DTO
{
   public class DTO_KHACHHANG
    {
        #region Khai bao thuoc tinh

        private int _maKhachHang;       
        private string _hoTenKhachHang;        
        private string _soDienThoai;        
        private string _diaChi;        
        #endregion

        #region Khai bao phuong thuc
        public int MaKhachHang
        {
            get { return _maKhachHang; }
            set { _maKhachHang = value; }
        }
        public string HoTenKhachHang
        {
            get { return _hoTenKhachHang; }
            set { _hoTenKhachHang = value; }
        }
        public string SoDienThoai
        {
            get { return _soDienThoai; }
            set { _soDienThoai = value; }
        }
        public string DiaChi
        {
            get { return _diaChi; }
            set { _diaChi = value; }
        }
        #endregion

        #region Khai bao khoi tao
        public DTO_KHACHHANG()
        { }
        public DTO_KHACHHANG(int maKH, string hoTenKH, string SDT, string diaChi)
        {
            this.MaKhachHang = maKH;
            this.HoTenKhachHang = hoTenKH;
            this.SoDienThoai = SDT;
            this.DiaChi = diaChi;
        }

        public DTO_KHACHHANG(DTO_KHACHHANG obj)
        {
            this.MaKhachHang = obj.MaKhachHang;
            this.HoTenKhachHang = obj.HoTenKhachHang;
            this.SoDienThoai = obj.SoDienThoai;
            this.DiaChi = obj.DiaChi;
        }
        #endregion
    }
}
